//
//  MessageCell.m
//  TheRoadAD
//
//  Created by baixue on 16/8/16.
//  Copyright © 2016年 baixue. All rights reserved.
//

#import "MessageCell.h"

@implementation MessageCell

- (void)awakeFromNib {
    // Initialization code
}

-(void)cellAutoLayoutHeight:(NSString *)str{
    _content.lineBreakMode = NSLineBreakByWordWrapping;
    
    _content.preferredMaxLayoutWidth = CGRectGetWidth(_content.frame);
    _content.text = str;
}

@end
